package com.kingland.Gordon.mapper;

import com.kingland.Gordon.model.UserModel;

/**
 * @author Gordon
 */

public interface UserModelMapper {

    int deleteByPrimaryKey(Long id);

    int insert(UserModel record);

    UserModel selectByPrimaryKey(Long id);

    java.util.List<com.kingland.Gordon.model.UserModel> selectAll();

    int updateByPrimaryKey(UserModel record);

    UserModel selectUsername(String username);
}